﻿window.encode64 = function (text) {
    return btoa(String.fromCharCode(...new TextEncoder().encode(text)))
}